﻿using System;

namespace SampleControls {
    [Serializable]
    public class RelatedEndDescription : IRelatedEndDescription {
        public RelatedEndDescription(bool isEagerLoaded, string entityCollectionName) {
            this._isEagerLoaded = isEagerLoaded;
            this._entityCollectionName = entityCollectionName;
        }

        private bool _isEagerLoaded;
        public bool IsEagerLoaded {
            get { return _isEagerLoaded; }
            set { _isEagerLoaded = value; }
        }

        private string _entityCollectionName;
        public string EntityCollectionName {
            get { return _entityCollectionName; }
        }
    }
}
